/**
 * @Author: Jason Liu
 * @description: 基础通用样式
 */

.winning_60 {
  .app_header_layout {
    .ant-layout-header {
      .ant-menu {
        display: flex;

        .ant-menu-item,
        .ant-menu-submenu {
          max-width: 160px;
          display: flex;
          place-items: center;
          /* 将内容居中 */
          height: 48px;

          p {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 20px;
            white-space: normal;
            min-width: 60px;
            word-break: normal;
          }

          .anticon {
            right: 2px;
          }
        }
      }
    }
  }

  .ant-layout-sider {
    .ant-menu {
      .ant-menu-item {
        display: flex;

        >div,
        span {
          display: flex;
          place-items: center;

          .label {
            display: flex;
            place-items: center;
            height: 48px;
            word-break: normal;

            p {
              display: -webkit-box;
              -webkit-box-orient: vertical;
              -webkit-line-clamp: 2;
              overflow: hidden;
              text-overflow: ellipsis;
              line-height: 20px;
              white-space: pre-line;
              text-align: left;
              word-break: normal;
            }
          }
        }
      }

      .ant-menu-submenu {

        div,
        span {
          display: flex;
          place-items: center;

          .label {
            display: flex;
            place-items: center;
            height: 48px;

            p {
              display: -webkit-box;
              -webkit-box-orient: vertical;
              -webkit-line-clamp: 2;
              overflow: hidden;
              text-overflow: ellipsis;
              line-height: 20px;
              white-space: pre-line;
              text-align: left;
            }
          }
        }
      }
    }
  }

  .ant-form {
    .ant-form-item {
      .ant-form-item-label {
        display: flex;
        place-items: center;
        /* 将内容居中 */
        justify-content: flex-end;
        height: 40px;

        label {
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          overflow: hidden;
          text-overflow: ellipsis;
          line-height: 20px;
          white-space: break-spaces;
        }
      }
    }
  }

  .vxe-table {
    .vxe-body--row {
      .vxe-body--column {
        .vxe-cell {
          .operate {
            display: flex;
            place-items: center;
            justify-content: center;

            .ant-btn-link {
              max-width: 80px;
              height: 36px;
              display: -webkit-box;
              -webkit-box-orient: vertical;
              -webkit-line-clamp: 2;
              overflow: hidden;
              text-overflow: ellipsis;
              line-height: 16px;
              white-space: normal;
              word-break: normal;
            }
          }
        }
      }
    }
  }
}